import Axios from "@/utils/request";
import type { HttpResponse } from '@/api/types';

// backVisit
export default {
  // 回访列表
  getVisitList(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/visit-list', params)
  },
  // 回访记录
  createVisitLog(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/create-visit-log', params)
  },
  // 重新发布
  getVisitHandle(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/visit-handle', params)
  },
}
